home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1519 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.6 KB

  1. Path: sn.no!not-for-mail
  2. From: mobergru@oslonett.no (Rune Moberg)
  3. Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc,comp.os.ms-windows.programmer.tools.misc,alt.folklore.computers
  4. Subject: Re: C++ with Zapp vs. Delphi
  5. Date: 10 Jan 1996 21:59:21 +0100
  6. Organization: CD-Player Pro author!
  7. Message-ID: <rq+8w0JfFC7A089yn@oslonett.no>
  8. References: <4cfor8$qno@picasso.op.net> <lKI7w0JfF61N089yn@oslonett.no>
  9.  <4coar6$d4n@sun4.bham.ac.uk> <4cpek3$i7@brasaap.iaehv.nl>
  10.  <4cv6bn$eiu@uuneo.neosoft.com>
  11. NNTP-Posting-Host: hasle.sn.no
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=ISO-8859-1
  14. Content-Transfer-Encoding: 8bit
  15.  
  16. In article <4cv6bn$eiu@uuneo.neosoft.com>,
  17. barrym@starbase.neosoft.com (barrym) wrote:
  18. >I'm a C programmer in a shop with lots of professional programmers using
  19. >VB and all the other new high level stuff and they do produce some very
  20. >nice apps very quickly.  They also get stuck a lot.  They run into all
  21. >sorts of OS limitations that they need to overcome, and all kinds of
  22. >speed problems presented by VB (and Delphi) and they call me.
  23.  
  24. "(and Delphi)"???
  25.  
  26. Sounds like old habit to me, some VB programmer doing Delphi stuff and
  27. mistakenly thinks that it's not as powerful as C. Everything achievable
  28. in C is doable with Delphi (BP8). You can even put assembly code within the
  29. Delphi code if you really want down to the metal performance (in a tight
  30. loop it might make a difference).
  31.  
  32. VB is dead, I'll agree to that. IMO doing C on the Windows platform is pretty
  33. mute too.
  34.  
  35. Two years ago, I made a small menu program (AMI bios style), using BP 7.0.
  36. I had objects, some polymorphism, the works...
  37. The first draft (without any text, only the basic UI) compiled to 7K. That's
  38. far less than the stuff the BC++ 3.1 compiler threw at me (20K for small
  39. "hello world" style C apps).
  40.  
  41. What the BP 8 (Delphi) compiler lacks, is some optimising. It has poor
  42. register utilization and the loops look terrible. Delphi 2.0 will share
  43. compiler backend with BC++ 5.0, so that's going to be fixed very soon (one
  44. month?). In addition it'll keep the smart linking, so all in all we'll end
  45. up with a faster (and smarter?) compiler/linker.
  46.  
  47. Historically, Borland (and others) seems to have put more optimizations into
  48. their C/C++ compilers, which ofcourse affects any Pascal vs C speed
  49. comparison.
  50.  
  51. As for language features, Delphi lacks: Multiple Inheritance and Overloading.
  52. In return, it provides a neater language which is more maintainable and
  53. allows for faster development (RAD).
  54.  
  55. You may disagree with my statements above, but in any case: Delphi is not VB!
  56.  
  57. -- 
  58. =\
  59.  *=- R.Moberg, CD-Player Pro info @ http://www.sn.no/~mobergru/
  60. =/
  61.